package com.example.ict.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 功能：
 * 作者：张传琦
 * 日期：2024-05-05 23:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User {
    private Integer id;
    private String username;
    private String name;
    private String password;
    private Integer deptId;
    private Integer postId;
    private Integer roleId;

    public static void main(String[] args) {
        User user = User.builder().name("Suleyman").build();
        System.out.println(user.getName());
    }
}
